
		**********************************************************
		** File: EBA dest 6-30.do								**
		** Paper: Human Trafficking Indicators: A New Dataset	**
		** Author: Richard Frank								**
		** Date: July 11, 2021									**
		** Task: Running second series of dest EBA models		**
 		**********************************************************

				clear
				version 16.1
				set max_memory 32g, permanently
				set seed 1234
				set level 95 		
				 cd "C:\Users\Administrator\Desktop\"
				use "HT EBA merged DV and IVs.dta"
	
 ***************
 ** 6. cpi **
 ***************
		
		probit  F.dest  /**/ cpi /**/
		regsave using /**/ eba_dest_6 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 /**/  easia_pacific energyuse ethnic_tension ethnic 				///
		 europe execleft execright fdi food 								///
		 homicides infant KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ cpi /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_6 /**/, tstat pval ci autoid append detail(all) 	
						}	
 ***************
 ** 7. easia_pacific **
 ***************
		
		probit  F.dest  /**/ easia_pacific /**/
		regsave using /**/ eba_dest_7 /**/, replace
		
		tuples 			///	
		  agr 			/// /* 1 */
		  america_l 	/// /* 2 */
		  america_n 	/// /* 3 */
		  conflict_ext	/// /* 4 */
		  conflict_int 	/// /* 5 */
		 cpi /**/  		/// /* 6 */
		 energyuse 		/// /* 7 */
		 ethnic_tension /// /* 8 */
		 ethnic 		/// /* 9 */					 
		 europe 		/// /* 10 */
		 execleft  		/// /* 11 */
		 execright 		/// /* 12 */
		 fdi 			/// /* 13 */
		 food 			/// /* 14 */						 
		 homicides 		/// /* 15 */
		 infant 		/// /* 16 */
		 KOFSoGI 		/// /* 17 */
		 language 		/// /* 18 */
		 legal_british 	/// /* 19 */				 
		 legal_french 	/// /* 20 */
		 legal_german 	/// /* 21 */
		 legal_scan 	/// /* 22 */
		 literacy 		/// /* 23 */					 
		 lp_catho80 	/// /* 24 */
		 lp_protmg80 	/// /* 25 */
		 media 			/// /* 26 */
		 mena 			/// /* 27 */
		 migration 		/// /* 28 */ 
		 mortality_under5 /// /* 29 */
		 lp_muslim80 	/// /* 30  */
		 oecd 			/// /* 31  */
		 peacekeepersfl /// /* 32  */
		 peacekeepersl 	/// /* 33  */  
		 polity2 		/// /* 34  */
		 pop 			/// /* 35  */
		 prevent 		/// /* 36  */
		 prostitutionlaw /// /* 37  */
		 protect 		/// /*  38 */			 
		 pve 			/// /*  39 */
		 refugees		 /// /* 40  */
		 religion 		/// /* 41  */
		 rle 			/// /*  42 */
		 sasia 			/// /*  43 */					 
		 ssa 			/// /*  44 */
		 tourism 		/// /* 45  */
		 trade 			/// /* 46  */
		 unemployment 	/// /* 47  */
		 urban 			/// /*  48 */					 
		 vae 			/// /*  49 */
		 visa 			/// /*  50 */
		 wecon  		/// /*  51 */
		 english 		/// /* 52  */								 
		 french			/// /* 53  */
		 german 		/// /* 54  */
		 spanish 		/// /* 55  */
		 portuguese	 	/// /* 56  */
		 landlocked 	/// /* 57  */					 
				, max(3) min(3)  kronecker ///
				cond(!(19&34&44) /* legal_british polity ssa */ ///
				     !(19&34&43)) /* legal_british polity seasia */
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ easia_pacific /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_7 /**/, tstat pval ci autoid append detail(all) 	
						}	
	
						
 ***************
 ** 8. energyuse **
 ***************
		
		probit  F.dest  /**/ energyuse /**/
		regsave using /**/ eba_dest_8 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific /**/ ethnic_tension ethnic 						/// 6-9
		 europe execleft execright fdi food 								/// 10-14
		 homicides infant KOFSoGI language legal_british 					/// 15-19
		 legal_french legal_german legal_scan literacy 						/// 20-23
		 lp_catho80 lp_protmg80 media mena migration 						/// 24-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44
		 vae visa wecon  english 											///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker ///
				cond(!(19&32&44) ///
				    !(19&32&43) ///
					!(19&33&43) ///
					!(19&33&44))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ energyuse /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_8 /**/, tstat pval ci autoid append detail(all) 	
						}	
						
						
 ***************
 ** 9. ethnic_tension **
 ***************
		
		probit  F.dest  /**/ ethnic_tension /**/
		regsave using /**/ eba_dest_9 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse /**/  ethnic 						    ///
		 europe execleft execright fdi food 								///
		 homicides infant KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ ethnic_tension /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_9 /**/, tstat pval ci autoid append detail(all) 	
						}	
						
	 				
 ***************
 ** 10. ethnic **
 ***************
		
		probit  F.dest  /**/ ethnic /**/
		regsave using /**/ eba_dest_10 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension /**/   					///
		 europe execleft execright fdi food 								///
		 homicides infant KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ ethnic /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_10 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
						
	 				
 ***************
 ** 11. europe **
 ***************
		
		probit  F.dest  /**/ europe /**/
		regsave using /**/ eba_dest_11 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 /**/  execleft execright fdi food 									///
		 homicides infant KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ europe /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_11 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
									
 ***************
 ** 12. execleft **
 ***************
		
		probit  F.dest  /**/ execleft /**/
		regsave using /**/ eba_dest_12 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe /**/   execright fdi food 								    /// 11-14
		 homicides infant KOFSoGI language legal_british 					/// 15-19
		 legal_french legal_german legal_scan literacy 						/// 20-23
		 lp_catho80 lp_protmg80 media mena migration 						/// 24-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											/// 49-52
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker 	cond(!(20&28&44) /* legal_fr migration ssa */ ///
				     !(20&28&43) ///
					 !(17&19&44) ///  
					!(17&19&43))
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ execleft /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_12 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
 ***************
 ** 13. execright **
 ***************
		
		probit  F.dest  /**/ execright /**/
		regsave using /**/ eba_dest_13 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft /**/   fdi food 								    ///
		 homicides infant KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 											///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ execright /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_13 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
 ***************
 ** 14. fdi **
 ***************
		
		probit  F.dest  /**/ fdi /**/
		regsave using /**/ eba_dest_14 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright /**/    food 							/// 11-14
		 homicides infant KOFSoGI language legal_british 					/// 15-19
		 legal_french legal_german legal_scan literacy 						/// 20-23
		 lp_catho80 lp_protmg80 media mena migration 						/// 24-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(20&28&44) !(20&28&43))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ fdi /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_14 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
 ***************
 ** 15. food **
 ***************
		
		probit  F.dest  /**/ food /**/
		regsave using /**/ eba_dest_15 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi /**/     							///
		 homicides infant KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ food /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_15 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
 ***************
 ** 16. homicides **
 ***************
		
		probit  F.dest  /**/ homicides /**/
		regsave using /**/ eba_dest_16 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		/**/  infant KOFSoGI language legal_british 						///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ homicides /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_16 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
 ***************
 ** 17. infant **
 ***************
		
		probit  F.dest  /**/ infant /**/
		regsave using /**/ eba_dest_17 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides /**/   KOFSoGI language legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ infant /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_17 /**/, tstat pval ci autoid append detail(all) 	
						}							
												
												
 ***************
 ** 18. KOFSoGI **
 ***************
		
		probit  F.dest  /**/ KOFSoGI /**/
		regsave using /**/ eba_dest_18 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant /**/    language legal_british 					/// 16-19
		 legal_french legal_german legal_scan literacy 						/// 20-23
		 lp_catho80 lp_protmg80 media mena migration 						/// 24-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											/// 49-52
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker									///
				cond(!(20&36&44) !(20&36&43) !(12&19&44) !(12&19&43))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ KOFSoGI /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_18 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
									
 ***************
 ** 19. language **
 ***************
		
		probit  F.dest  /**/ language /**/
		regsave using /**/ eba_dest_19 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides infant KOFSoGI /**/     legal_british 					///
		 legal_french legal_german legal_scan literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ language /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_19 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
									
 ***************
 ** 20. legal_british **
 ***************
		
		probit  F.dest  /**/ legal_british /**/
		regsave using /**/ eba_dest_20 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant KOFSoGI language /**/         					///16-19
		 legal_french legal_german legal_scan literacy 						/// 20-23
		 lp_catho80 lp_protmg80 media mena migration 						/// 24-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(44&45&46) !(43&44&45) ///
												!(43&45&46) !(40&44&46) ///
												!(25&40&44) !(25&40&43) ///
												!(20&28&48) !(12&18&44) ///
												!(8&32&44)  !(8&32&43) ///
												!(7&34&44) !(7&34&43))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ legal_british /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_20 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
									
																															
 ***************
 ** 21. legal_french **
 ***************
		
		probit  F.dest  /**/ legal_french /**/
		regsave using /**/ eba_dest_21 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant KOFSoGI language legal_british    				/// 16-20
		 /**/  legal_german legal_scan literacy 							/// 21-23
		 lp_catho80 lp_protmg80 media mena migration 						/// 24-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(44&45&46) !(43&44&45) ///
												!(43&45&46) !(40&44&46) ///
												!(25&40&44) !(25&40&43) ///
												!(20&28&48) !(12&18&44) ///
												!(8&32&44)  !(8&32&43) ///
												!(7&34&44) !(7&34&43) !(28&44) ///
												!(27&44) !(27&36) !(36&44))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ legal_french /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_21 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
									
																																																			
 ***************
 ** 22. legal_german **
 ***************
		
		probit  F.dest  /**/ legal_german  /**/
		regsave using /**/ eba_dest_22 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides infant KOFSoGI language legal_british    				///
		 legal_french /**/   legal_scan literacy 							///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ legal_german /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_22 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																			
 ***************
 ** 23. legal_scan **
 ***************
		
		probit  F.dest  /**/ legal_scan  /**/
		regsave using /**/ eba_dest_23 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides infant KOFSoGI language legal_british    				///
		 legal_french legal_german /**/    literacy 						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ legal_scan /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_23 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																			
 ***************
 ** 24. literacy **
 ***************
		
		probit  F.dest  /**/ literacy  /**/
		regsave using /**/ eba_dest_24 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides infant KOFSoGI language legal_british    				///
		 legal_french legal_german legal_scan /**/     						///
		 lp_catho80 lp_protmg80 media mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ literacy /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_24 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																												
 ***************
 ** 25. lp_catho80 **
 ***************
		
		probit  F.dest  /**/ lp_catho80  /**/
		regsave using /**/ eba_dest_25 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant KOFSoGI language legal_british    				/// 16-20
		 legal_french legal_german legal_scan literacy      				/// 21-24
		 /**/  lp_protmg80 media mena migration 							/// 25-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(21&37) !(21&44) !(37&44))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ lp_catho80 /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_25 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																												
 ***************
 ** 26. lp_protmg80 **
 ***************
		
		probit  F.dest  /**/ lp_protmg80  /**/
		regsave using /**/ eba_dest_26 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant KOFSoGI language legal_british    				/// 16-20
		 legal_french legal_german legal_scan literacy      				/// 21-24
		 lp_catho80 /**/   media mena migration 							/// 25-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
 		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											/// 49-52
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(20&40) !(20&44) !(40&44))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ lp_protmg80 /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_26 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																							 ***************
 ** 27. media **
 ***************
		
		probit  F.dest  /**/ media  /**/
		regsave using /**/ eba_dest_27 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides infant KOFSoGI language legal_british    				///
		 legal_french legal_german legal_scan literacy      				///
		 lp_catho80 lp_protmg80 /**/    mena migration 						///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 				///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ media /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_27 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																												
***************
 ** 28. mena **
 ***************
		
		probit  F.dest  /**/ mena  /**/
		regsave using /**/ eba_dest_28 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant KOFSoGI language legal_british    				/// 16-20
		 legal_french legal_german legal_scan literacy      				///21-24
		 lp_catho80 lp_protmg80 media /**/     migration 					/// 25-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(21&44) !(36&44) !(21&36) )
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ mena /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_28 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																									***************
 ** 29. migration **
 ***************
		
		probit  F.dest  /**/ migration  /**/
		regsave using /**/ eba_dest_29 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				/// 1-5
		 cpi easia_pacific energyuse ethnic_tension ethnic  				/// 6-10
		 europe execleft execright fdi food      							/// 11-15
		 homicides infant KOFSoGI language legal_british    				/// 16-20
		 legal_french legal_german legal_scan literacy      				/// 21-24
		 lp_catho80 lp_protmg80 media mena /**/      						/// 25-28
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	/// 29-33
		 polity2 pop prevent prostitutionlaw protect 						/// 34-38
		 pve refugees religion rle sasia 									/// 39-43
		 ssa tourism trade unemployment urban 								/// 44-48
		 vae visa wecon  english 											/// 49-
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker cond(!(21&44) !(21&47) !(44&47) ///
												!(20&21) !(48&20) !(48&21))
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ migration /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_29 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																												
																							***************
 ** 30. mortality_under5 **
 ***************
		
		probit  F.dest  /**/ mortality_under5  /**/
		regsave using /**/ eba_dest_30 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 				///
		 cpi easia_pacific energyuse ethnic_tension ethnic  				///
		 europe execleft execright fdi food      							///
		 homicides infant KOFSoGI language legal_british    				///
		 legal_french legal_german legal_scan literacy      				///
		 lp_catho80 lp_protmg80 media mena migration   						///
		 /**/  lp_muslim80 oecd peacekeepersfl peacekeepersl 					///
		 polity2 pop prevent prostitutionlaw protect 						///
		 pve refugees religion rle sasia 									///
		 ssa tourism trade unemployment urban 								///
		 vae visa wecon  english 										///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit  F.dest  /**/ mortality_under5 /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_dest_30 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																																													
 
						
	
